package com.qst0916_3.controller;

import com.qst0916_3.entity.User;
import com.qst0916_3.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller
public class UserController {
    @Autowired
    private UserService userService;
    public int insetUser(User u1,User u2){
        int row=userService.addUser(u1,u2);
        return row;
    }

}
